package com.example.flutter_base_widget.plugin

import com.baidu.mapapi.map.MapView
import com.baidu.mapapi.map.TextureMapView
import io.flutter.plugin.common.PluginRegistry

object MyViewPlugin {
    fun registerWith(registrar: PluginRegistry.Registrar, mapView: TextureMapView) {
        registrar
                .platformViewRegistry()
                .registerViewFactory("com.androidView",MyViewFactory(registrar.messenger(), mapView))
    }
}